<?php 
    $siteNameTag = ($pageId == 'index') ? 'h1' : 'strong';
    $baseUrl = $request->getApplicationPath();
?>
            <div id="skip-links">
                <a href="#navigation"><?php echo Translator::translate('Skip to navigation'); ?></a>
                <a href="#content"><?php echo Translator::translate('Skip to content'); ?></a>
            </div>
            <div id="header">
                <div id="header-inner">
                    <<?php echo $siteNameTag; ?> id="app-name"><a href="<?php echo $baseUrl; ?>">Maikuro CMS</a></<?php echo $siteNameTag; ?>>
                <?php if (Auth::isAuthenticated()): ?>
                    <div id="account-menu">
                        <?php echo Translator::translate('Logged in as'); ?>
                        <a href="<?php echo $baseUrl; ?>/administrators/edit/<?php echo $currentAdministrator->id; ?>">
                            <?php echo $currentAdministrator->username; ?>
                        </a>
                        |
                        <a href="<?php echo $baseUrl; ?>/logout/"><?php echo Translator::translate('Log out'); ?></a>
                    </div>
                <?php endif; ?>
                </div>
            </div>